home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / AppsToGo / AppsToGo.src / AppsToGo.Changes / DTS.Lib / CtlHandler.c.df < prev    next >
Encoding:
Text File  |  1993-06-18  |  15.8 KB  |  396 lines  |  [TEXT/MPS ]

  1. File #1: b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c
  2. File #2: a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c
  3.  
  4. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 8; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 8)
  5. ** Copyright © 1991 Apple Computer, Inc.
  6.  
  7. ** Copyright © 1991-1993 Apple Computer, Inc.
  8.  
  9.  
  10. Extra lines in 2nd before 12 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ12; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 12:19)
  11. /* You may incorporate this sample code into your applications without
  12. ** restriction, though the sample code has been provided "AS IS" and the
  13. ** responsibility for its operation is 100% yours.  However, what you are
  14. ** not permitted to do is to redistribute the source as "DSC Sample Code"
  15. ** after having made changes. If you're going to re-distribute the source,
  16. ** we require that you make it clear in the source that the code was
  17. ** descended from Apple Sample Code, but that you've made changes. */
  18.  
  19.  
  20.  
  21. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 281:282; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 289:290)
  22.     short                thisNum, teNum, listNum, i, oldVal, newVal, dpass;
  23.     Boolean                hitFrame, hitScrollBar, tracked;
  24.  
  25.     short                thisNum, teNum, listNum, i, oldVal, newVal, dpass, part;
  26.     Boolean                hitFrame, hitScrollBar, tracked, hasBalloon;
  27.  
  28.  
  29. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 291:300; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 299:341)
  30.  
  31.     action = pass = 0;
  32.  
  33.     if (retCtl)
  34.         *retCtl = nil;
  35.     if (retAction)
  36.         *retAction = 0;
  37.  
  38.     evt = *event;
  39.  
  40.  
  41.     Rect                org;
  42.     Point                mouseLoc;
  43.  
  44.     pass = 0;
  45.  
  46.     if (!retCtl)    retCtl    = &ctl;
  47.     if (!retAction) retAction = &action;
  48.  
  49.     *retCtl    = nil;
  50.     *retAction = 0;
  51.  
  52.     evt = *event;
  53.  
  54.     if (evt.what == nullEvent) {
  55.         mouseLoc = GetGlobalMouse();
  56.         window = FrontWindowOfType(kwIsModalDialog, true);
  57.         if (!window) {
  58.             part = FindWindow(mouseLoc, &window);
  59.             if (part == inContent)
  60.                 if (!(((WindowPeek)window)->hilited))
  61.                     window = nil;
  62.         }
  63.         hasBalloon = false;
  64.         if (window) {
  65.             org = window->portRect;
  66.             BeginContent(window);
  67.             hasBalloon = ControlBalloonHelp(window, mouseLoc);
  68.             SetOrigin(org.left, org.top);
  69.             EndContent(window);
  70.             if (hasBalloon) return(0);
  71.             BeginFrame(window);
  72.             hasBalloon = ControlBalloonHelp(window, mouseLoc);
  73.             SetOrigin(org.left, org.top);
  74.             EndFrame(window);
  75.         }
  76.         if (!hasBalloon) ControlBalloonHelp(nil, mouseLoc);
  77.         return(0);
  78.     }
  79.  
  80.     if (!window) return(0);
  81.  
  82.     org = window->portRect;
  83.  
  84.  
  85.  
  86. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 323:328; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 364:369)
  87.         if (WhichControl(evt.where, 0, window, &ctl)) {
  88.             /* WhichControl also finds inactive controls.  We need this for scrollbars.
  89.             ** If an inactive scrollbar is hit, we should activate the related
  90.             ** TextEdit or List control. */
  91.  
  92.             hitScrollBar = IsScrollBar(ctl);
  93.  
  94.         if (WhichControl(evt.where, 0, window, retCtl)) {
  95.                 /* WhichControl also finds inactive controls.  We need this for scrollbars.
  96.                 ** If an inactive scrollbar is hit, we should activate the related
  97.                 ** TextEdit or List control. */
  98.  
  99.             hitScrollBar = IsScrollBar(*retCtl);
  100.  
  101.  
  102. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 333; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 374)
  103.             FindControl(evt.where, window, &ctl);
  104.  
  105.             FindControl(evt.where, window, retCtl);
  106.  
  107.  
  108. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 339; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 380)
  109.             ctlNum = Ctl2CNum(ctl);
  110.  
  111.             ctlNum = Ctl2CNum(*retCtl);
  112.  
  113.  
  114. Extra lines in 2nd before 348 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ348; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 389)
  115.                     SetOrigin(org.left, org.top);
  116.  
  117.  
  118. Extra lines in 2nd before 355 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ355; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 397)
  119.                         SetOrigin(org.left, org.top);
  120.  
  121.  
  122. Extra lines in 2nd before 363 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ363; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 406)
  123.                         SetOrigin(org.left, org.top);
  124.  
  125.  
  126. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 369:381; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 413:422)
  127.                     if ((*gcteClick)(window, event, &action)) {    /* If click is for TextEdit control... */
  128.                         if (action == -1) {
  129.                             teCtl  = (*gcteViewFromTE)(CTEFindActive(window));
  130.                             teData = (CTEDataHndl)(*teCtl)->contrlData;
  131.                             mode   = (*teData)->mode;
  132.                             if (!(mode & cteTwoStep))
  133.                                 (*gcteClick)(window, event, &action);
  134.                         }
  135.                         EndContent(window);
  136.                         if (retCtl)
  137.                             *retCtl = ctl;                /* Return the TextEdit control. */
  138.                         if (retAction)
  139.                             *retAction = action;        /* Return action taken. */
  140.  
  141.                     if ((*gcteClick)(window, event, retAction)) {    /* If click for TE control... */
  142.                         if (*retAction == -1) {
  143.                             *retCtl = (*gcteViewFromTE)(CTEFindActive(window));
  144.                             teData  = (CTEDataHndl)(**retCtl)->contrlData;
  145.                             mode    = (*teData)->mode;
  146.                             if (!(mode & cteTwoStep))
  147.                                 (*gcteClick)(window, event, retAction);
  148.                         }
  149.                         SetOrigin(org.left, org.top);
  150.                         EndContent(window);
  151.  
  152.  
  153. Extra lines in 2nd before 393 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ393; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 434)
  154.                     SetOrigin(org.left, org.top);
  155.  
  156.  
  157. Extra lines in 2nd before 400 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ400; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 442)
  158.                         SetOrigin(org.left, org.top);
  159.  
  160.  
  161. Extra lines in 2nd before 408 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ408; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 451)
  162.                         SetOrigin(org.left, org.top);
  163.  
  164.  
  165. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 414:426; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 458:467)
  166.                     if ((*gclClick)(window, event, &action)) {    /* If click is for List control... */
  167.                         if (action == -1) {        /* Just activated a List control... */
  168.                             listCtl  = (*gclViewFromList)((*gclFindActive)(window));
  169.                             listData = (CLDataHndl)(*listCtl)->contrlData;
  170.                             mode     = (*listData)->mode;
  171.                             if (!(mode & clTwoStep))
  172.                                 (*gclClick)(window, event, &action);
  173.                         }
  174.                         EndContent(window);
  175.                         if (retCtl)
  176.                             *retCtl = ctl;                /* Return the List control. */
  177.                         if (retAction)
  178.                             *retAction = action;        /* Return action taken. */
  179.  
  180.                     if ((*gclClick)(window, event, retAction)) {    /* If click for List control... */
  181.                         if (*retAction == -1) {        /* Just activated a List control... */
  182.                             *retCtl  = (*gclViewFromList)((*gclFindActive)(window));
  183.                             listData = (CLDataHndl)(**retCtl)->contrlData;
  184.                             mode     = (*listData)->mode;
  185.                             if (!(mode & clTwoStep))
  186.                                 (*gclClick)(window, event, retAction);
  187.                         }
  188.                         SetOrigin(org.left, org.top);
  189.                         EndContent(window);
  190.  
  191.  
  192. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 432:438; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 473:476)
  193.             action = 0;
  194.             if (!ctl) {
  195.                 EndContent(window);
  196.                 if (retCtl)
  197.                     *retCtl = ctl;
  198.                 if (retAction)
  199.                     *retAction = action;
  200.  
  201.             *retAction = 0;
  202.             if (!*retCtl) {
  203.                 SetOrigin(org.left, org.top);
  204.                 EndContent(window);
  205.  
  206.  
  207. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 442; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 480)
  208.             UseControlStyle(ctl);
  209.  
  210.             UseControlStyle(*retCtl);
  211.  
  212.  
  213. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 453:455; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 491:493)
  214.             oldVal  = (*ctl)->contrlValue;
  215.             tracked = TrackControl(ctl, evt.where, (ProcPtr)-1);
  216.             newVal  = (*ctl)->contrlValue;
  217.  
  218.             oldVal  = (**retCtl)->contrlValue;
  219.             tracked = TrackControl(*retCtl, evt.where, (ProcPtr)-1);
  220.             newVal  = (**retCtl)->contrlValue;
  221.  
  222.  
  223. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 460; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 498)
  224.                 switch(GetButtonVariant(ctl)) {
  225.  
  226.                 switch(GetButtonVariant(*retCtl)) {
  227.  
  228.  
  229. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 464; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 502:503)
  230.                         SetStyledCtlValue(ctl, GetCtlValue(ctl) ^ 1);    /* Toggle checkBox value. */
  231.  
  232.                         SetStyledCtlValue(*retCtl, GetCtlValue(*retCtl) ^ 1);
  233.                                 /* Toggle checkBox value. */
  234.  
  235.  
  236. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 475; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 514)
  237.                                     SetStyledCtlValue(nextCtl, (nextCtl == ctl));
  238.  
  239.                                     SetStyledCtlValue(nextCtl, (nextCtl == *retCtl));
  240.  
  241.  
  242. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 480; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 519)
  243.                 if (GetControlStyle(ctl, &cinfo)) {
  244.  
  245.                 if (GetControlStyle(*retCtl, &cinfo)) {
  246.  
  247.  
  248. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 510:511; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 549:550)
  249.                     oldVal -= (*ctl)->contrlMin;
  250.                     newVal -= (*ctl)->contrlMin;
  251.  
  252.                     oldVal -= (**retCtl)->contrlMin;
  253.                     newVal -= (**retCtl)->contrlMin;
  254.  
  255.  
  256. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 533; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 572)
  257.                 ctl = nil;
  258.  
  259.                 *retCtl = nil;
  260.  
  261.  
  262. Extra lines in 2nd before 537 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ537; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 576)
  263.             SetOrigin(org.left, org.top);
  264.  
  265.  
  266. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 539:545; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 579)
  267.             if (evt.what != keyDown) {
  268.                 if (retCtl)
  269.                     *retCtl = ctl;
  270.                 if (retAction)
  271.                     *retAction = action;
  272.                 return(ctlNum);
  273.             }
  274.  
  275.             if (evt.what != keyDown) return(ctlNum);
  276.  
  277.  
  278. Extra lines in 2nd before 549 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ549; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 583)
  279.             SetOrigin(org.left, org.top);
  280.  
  281.  
  282. Extra lines in 2nd before 613 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ613; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 648)
  283.                 SetOrigin(org.left, org.top);
  284.  
  285.  
  286. Extra lines in 2nd before 622 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ622; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 658)
  287.                 SetOrigin(org.left, org.top);
  288.  
  289.  
  290. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 636:641; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 673:675)
  291.                 EndContent(window);
  292.                 if (retCtl)
  293.                     *retCtl = teCtl;
  294.                 if (retAction)
  295.                     *retAction = action;
  296.                 return(Ctl2CNum(teCtl));
  297.  
  298.                 SetOrigin(org.left, org.top);
  299.                 EndContent(window);
  300.                 return(Ctl2CNum(*retCtl = teCtl));
  301.  
  302.  
  303. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 650:655; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 684:686)
  304.                 EndContent(window);        /* Remove the clipping. */
  305.                 if (retCtl)
  306.                     *retCtl = listCtl;
  307.                 if (retAction)
  308.                     *retAction = action;
  309.                 return(Ctl2CNum(listCtl));
  310.  
  311.                 SetOrigin(org.left, org.top);
  312.                 EndContent(window);        /* Remove the clipping. */
  313.                 return(Ctl2CNum(*retCtl = listCtl));
  314.  
  315.  
  316. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 663:664; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 694:696)
  317.                     if (ControlKeyEquiv(window, &evt, &ctl, ((pass) ? "\p031900,0D1900" : "\p031900"))) {
  318.                         if ((*ctl)->contrlRect.left < -8192)
  319.  
  320.                     if (ControlKeyEquiv(window, &evt, retCtl, ((pass) ? "\p031900,0D1900" :
  321.                                                                         "\p031900"))) {
  322.                         if ((**retCtl)->contrlRect.left < -8192)
  323.  
  324.  
  325. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 668; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 700:701)
  326.                         switch(GetButtonVariant(ctl)) {
  327.  
  328.                         SelectButton(*retCtl);
  329.                         switch(GetButtonVariant(*retCtl)) {
  330.  
  331.  
  332. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 672; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 705:706)
  333.                                 SetStyledCtlValue(ctl, GetCtlValue(ctl) ^ 1);    /* Toggle checkBox value. */
  334.  
  335.                                 SetStyledCtlValue(*retCtl, GetCtlValue(*retCtl) ^ 1);
  336.                                         /* Toggle checkBox value. */
  337.  
  338.  
  339. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 683; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 717)
  340.                                             SetStyledCtlValue(nextCtl, (nextCtl == ctl));
  341.  
  342.                                             SetStyledCtlValue(nextCtl, (nextCtl == *retCtl));
  343.  
  344.  
  345. Extra lines in 2nd before 687 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ687; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 721)
  346.                         SetOrigin(org.left, org.top);
  347.  
  348.  
  349. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 690; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 725)
  350.                             if (GetControlStyle(ctl, &cinfo)) {
  351.  
  352.                             if (GetControlStyle(*retCtl, &cinfo)) {
  353.  
  354.  
  355. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 718:720; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 753)
  356.                         if (retCtl)
  357.                             *retCtl = ctl;
  358.                         return(Ctl2CNum(ctl));
  359.  
  360.                         return(Ctl2CNum(*retCtl));
  361.  
  362.  
  363. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 731:738; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 764:768)
  364.                         action = (*gcteKey)(window, &evt);    /* Allow key to be processed by TextEdit control. */
  365.                         EndContent(window);
  366.                         ctl = (*gcteViewFromTE)(te);
  367.                         if (retCtl)
  368.                             *retCtl = ctl;
  369.                         if (retAction)
  370.                             *retAction = action;
  371.                         return(Ctl2CNum(ctl));
  372.  
  373.                         *retAction = (*gcteKey)(window, &evt);    /* Allow processing by TE control. */
  374.                         SetOrigin(org.left, org.top);
  375.                         EndContent(window);
  376.                         *retCtl = (*gcteViewFromTE)(te);
  377.                         return(Ctl2CNum(*retCtl));
  378.  
  379.  
  380. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 746:752; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 776:779)
  381.                         EndContent(window);
  382.                         ctl = (*gclViewFromList)(list);
  383.                         if (retCtl)
  384.                             *retCtl = ctl;
  385.                         if (retAction)
  386.                             *retAction = action;
  387.                         return(Ctl2CNum(ctl));
  388.  
  389.                         SetOrigin(org.left, org.top);
  390.                         EndContent(window);
  391.                         *retCtl = (*gclViewFromList)(list);
  392.                         return(Ctl2CNum(*retCtl));
  393.  
  394.  
  395. *** EOF on both files at the same time ***
  396.